package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.CenterRoleAuth;
import com.woniuxy.common.entity.CenterRoleAuthExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CenterRoleAuthMapper {
    long countByExample(CenterRoleAuthExample example);

    int deleteByExample(CenterRoleAuthExample example);

    int deleteByPrimaryKey(String centerRoleAuthid);

    int insert(CenterRoleAuth record);

    int insertSelective(CenterRoleAuth record);

    List<CenterRoleAuth> selectByExample(CenterRoleAuthExample example);

    CenterRoleAuth selectByPrimaryKey(String centerRoleAuthid);

    int updateByExampleSelective(@Param("record") CenterRoleAuth record, @Param("example") CenterRoleAuthExample example);

    int updateByExample(@Param("record") CenterRoleAuth record, @Param("example") CenterRoleAuthExample example);

    int updateByPrimaryKeySelective(CenterRoleAuth record);

    int updateByPrimaryKey(CenterRoleAuth record);
}